<? 
	ob_start(); 
	require("connect.php");
	$mal=$_REQUEST["lopid"];
	$thu=$_REQUEST["thuid"];
	$tiet=$_REQUEST["tietid"];
	$magv=$_REQUEST["magv"];
	$mamh=$_REQUEST["mamh"];			
	$sql="update thoikhoabieu set mamh='{$mamh}', magv='{$magv}' where mal='{$mal}' and thu='{$thu}' and tiet='{$tiet}'";	
	mysql_query($sql) or die("Error!");		
	mysql_close();
	header("Location:thoikhoabieu_admin_detail.php?mal=$mal");
	
?>